<div class="AdminMarket">
<h1 class="list">{{!Search market items}}</h1>
{{include "controllers/adminpanel/AdminMarket/searchitems__form"}}

<table class="table">
<thead>
	<tr><th>{{!Name}}</th><th>{{!Code}}</th><th>{{!Category}}</th><th>{{!Manufacturer}}</th><th>{{!Fid}}</th><th>{{!Enabled}}</th><th>{{!Stock}}</th></tr>
</thead>
<tbody>
{{foreach mi in market_items}}
<tr>
	<td><a href="/admin-AutoAdminMarketItem/?mode=edit&id={{mi.id}}&category_id={{mi.category_id}}">{{mi.name}}</a></td>
	<td><a href="/admin-AutoAdminMarketItem/?mode=edit&id={{mi.id}}&category_id={{mi.category_id}}">{{mi.code}}</a></td>
	<td>{{mi.category_name}}</td>
	<td>{{mi.manufacturer_name}}</td>
	<td>{{mi.fid}}</td>
	<td class="c">{{mi.enabled}}</td>
	<td class="r">{{mi.in_stock_count}}</td>
</tr>
{{/foreach}}
</tbody>
</table>
</div>

